package com.huajx.core.web.controller;

import com.huajx.core.Hboot;
import com.huajx.core.annotation.Route;
import com.huajx.core.config.HbootConfig;
import com.huajx.core.handler.Controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Route(controllerKey = {"/mina"})
public class IndexController extends Controller {

    private final static Logger logger = LoggerFactory.getLogger(IndexController.class);

    public void index() {
        setAttr("title", Hboot.config(HbootConfig.class).getAppName());
        render("/index.html");
    }
}
